.class Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;
.super Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;
.source "RewardsMediaController.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->setMediaPlayer(Landroid/widget/MediaController$MediaPlayerControl;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;Landroid/widget/MediaController$MediaPlayerControl;)V
    .locals 0
    .parameter
    .parameter "x0"

    .prologue
    .line 52
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    invoke-direct {p0, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;-><init>(Landroid/widget/MediaController$MediaPlayerControl;)V

    return-void
.end method


# virtual methods
.method public pause()V
    .locals 2

    .prologue
    .line 56
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mPaused:Z

    .line 57
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mVideoListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView$IVideoEvents;

    if-eqz v0, :cond_0

    .line 58
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mVideoListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView$IVideoEvents;

    invoke-interface {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView$IVideoEvents;->paused()V

    .line 60
    :cond_0
    invoke-super {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->pause()V

    .line 61
    return-void
.end method

.method public start()V
    .locals 2

    .prologue
    .line 65
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mVideoListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView$IVideoEvents;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    iget-boolean v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mPaused:Z

    if-eqz v0, :cond_0

    .line 66
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mVideoListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView$IVideoEvents;

    invoke-interface {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView$IVideoEvents;->unpaused()V

    .line 68
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController$1;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsMediaController;->mPaused:Z

    .line 69
    invoke-super {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->start()V

    .line 70
    return-void
.end method
